﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using NutriLeaf.Web.Core.Account;

namespace NutriLeaf.Services.Core.Account
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IAccountService" in both code and config file together.
    [ServiceContract]
    public interface IAccountService
    {
        [OperationContract]
        LoginStatus LogIn(string accessToken, DateTime expires);

        [OperationContract]
        UserData GetUserData(string accesstoken);

        [OperationContract]
        void UpdateUserData(UserData userdata);

        [OperationContract]
        void UpdateUserProfileFromFacebook(string accesstoken);
        
    }
}
